package StudyCode.summary.mycollection;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class ConverseCharArray {
	public static char[] converseArray(char[] arr) {
		char para;
		for (int i = 0; i <= arr.length / 2; i++) {
			para = arr[i];
			arr[i] = arr[arr.length - 1 - i];
			arr[arr.length - 1 - i] = para;
		}
		return arr;
	}
}
